package com.oa.domain;

/**
 * RoleAuth entity. @author MyEclipse Persistence Tools
 */

public class RoleAuth implements java.io.Serializable {

	// Fields

	private Long raId;
	private Authority authority;
	private OaRole oaRole;

	// Constructors

	/** default constructor */
	public RoleAuth() {
	}

	/** minimal constructor */
	public RoleAuth(Long raId) {
		this.raId = raId;
	}

	/** full constructor */
	public RoleAuth(Long raId, Authority authority, OaRole oaRole) {
		this.raId = raId;
		this.authority = authority;
		this.oaRole = oaRole;
	}

	// Property accessors

	public Long getRaId() {
		return this.raId;
	}

	public void setRaId(Long raId) {
		this.raId = raId;
	}

	public Authority getAuthority() {
		return this.authority;
	}

	public void setAuthority(Authority authority) {
		this.authority = authority;
	}

	public OaRole getOaRole() {
		return this.oaRole;
	}

	public void setOaRole(OaRole oaRole) {
		this.oaRole = oaRole;
	}

}